package com.sdleyou.treepro.common.model.dao;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 用户申请加入公司DO
 */
@Data
@Document(collection = "{RRZS}_collection_user_company_applies")
public class UserCompanyApplyDO {
    /**
     * 文档主键
     */
    @Id
    @Field("_id")
    private String objId;

    @Field("company_id")
    private String companyId;

    @Field("user_id")
    private String userId;

    @Field("user_name")
    private String userName;

    @Field("face")
    private String face;

    @Field("gmt_create")
    private Long gmtCreate;

    @Field("gmt_modified")
    private Long gmtModified;

    @Field("gmt_pass")
    private Long gmtPass;

    /**
     * 状态 APPLY 申请中 PASS 通过 REJECT 拒绝
     */
    @Field("status")
    private String status;
}
